//最底层div
.underlying {
  overflow: auto;
  min-width: 100%;
  height: 100%;
  padding: 0px 40px 0px 40px;
}
.table {
  height: 100%;
  width: 100%;
}

.designTable {
  margin: 0 auto;
}

.tableHeard {
  background: rgba(48, 73, 77, 1);
  border-radius: 4px 4px 0px 0px;
  height: 50px;
}

::ng-deep thead {
  text-align: center !important;
}

:host ::ng-deep .ant-table-header {
  background: rgba(48, 73, 77, 1);
}


:host ::ng-deep .ant-table-fixed-header .ant-table-scroll .ant-table-header {
  margin-bottom: -25px !important;
  padding-bottom: 10px !important;
}

th {
  background: rgba(48, 73, 77, 1) !important;
  // padding: 0px !important;
  height: 50px;
  color: rgba(255, 255, 255, 1) !important;
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
}

a {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  cursor: pointer;
  transition: color .3s;
  -webkit-text-decoration-skip: objects;
}

// td{
// padding-top:6px !important;
// padding-bottom:6px !important;
// padding-left:3px !important;
// padding-right:5px !important;
// color:#ffffff;
// }
// 删除按钮
.del {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  background-image: url('../../../assets/image/icon_del.svg');
  background-repeat: no-repeat;
  background-position: center;
  outline: none;
  cursor: pointer;
}

.tablecontent {
  background: rgba(32, 48, 51, 1) !important;
}

::ng-deep .ant-table-placeholder {
  background: rgba(32, 48, 51, 1) !important;
  display: none;
  border-top: 0px; //彈出框移除boder上方白線 05/08
  border-bottom: 0px; //彈出框移除boder下方白線 05/08
  border-radius: 0px 0px 0px 0px; //彈出框去圓角 05/08
}

::ng-deep .ant-table-tbody>tr>td {
  top: 100px;
  margin: 0;
  padding: 0 0 0 0;
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
  background: rgba(32, 48, 51, 1);
  height: 40px;
}

:host ::ng-deep tr.ant-table-expanded-row td>.ant-table-wrapper {
  margin-top: -6px;
  margin-left: 0px;
  margin-right: -6px;
  margin-bottom: -7px;
}

:host ::ng-deep table {
  border-bottom: 100% !important;
}

:host ::ng-deep #firstd>td {
  height: 40px;
}

:host ::ng-deep #first:hover>td {
  background: rgba(48, 73, 77, 0.5) !important;
  height: 40px;
}

:host ::ng-deep .ant-table-thead>tr>th {
  text-align: center;
  // height: 40px;
}

::ng-deep .ant-modal-content .ant-btn-primary {
  border: 1px solid rgba(72, 156, 156, 1);
  background: rgba(48, 73, 77, 1);
  font-size: 16px;
  color: rgba(72, 156, 156, 1);
  margin-left: 20px;
}

::ng-deep .ant-modal-content {
  .ant-btn {
    border: 1px solid rgba(72, 156, 156, 1);
    background: rgba(48, 73, 77, 1);
    font-size: 16px;
    color: rgba(72, 156, 156, 1);
  }

  .ant-btn:hover {
    //增加按钮hover效果 Claire
    border: 1px solid rgba(72, 156, 156, 1);
    background: rgba(72, 156, 156, 1);
    font-size: 16px;
    color: rgb(255, 255, 255);
  }

  .ant-btn:focus {
    //增加按钮focus效果  Claire
    border: 1px solid rgba(55, 122, 122, 1);
    background: rgba(55, 122, 122, 1);
    font-size: 16px;
    color: rgb(255, 255, 255);
  }
}

::ng-deep .ant-modal-content {
  background: rgba(31, 46, 49, 1); //05/14  -----611行
  border-radius: 8px; ///  05/14
}

:host ::ng-deep .ant-modal-body {
  padding: 0px !important;
}

::ng-deep .ant-modal-header {
  background: rgba(48, 73, 77, 1);
  border-bottom: 1px;
  text-align: center;

}

::ng-deep .ant-modal-footer {
  //border-top: 0px;
  border-radius: 0px 0px 8px 8px;
  height: 60px; /// 定義高度05/08
  padding: 14px 16px; //修改05/08
  background: rgba(48, 73, 77, 1); /// 定義背景色05/08
  border-top: none; /// 去掉topline05/08
}

::ng-deep .ant-modal-title {
  font-size: 20px;
  font-family: Noto Sans;
  font-weight: 400;
  line-height: 27px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 5px;
  opacity: 1;
  text-align: center;
}

::ng-deep .anticon {
  color: #ffffff;
}

// ::ng-deep .ant-modal {
// padding-top:150px;
// }

// 滚动条
::ng-deep ::-webkit-scrollbar {
  background: rgba(32, 48, 51, 1);
  width: 6px; //右側滾動條寬度  Claire 04/24
  height: 15px; //下側滾動條高度  Claire 04/24
}

// // 滚动条的条  vertical 竖向
::ng-deep ::-webkit-scrollbar-thumb:vertical {
  background: #489C9C;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

// // horizontal 横向
::ng-deep ::-webkit-scrollbar-thumb:horizontal {
  box-shadow: auto;
  background: #489C9C;
  ;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

::ng-deep::-webkit-scrollbar-corner {
  ///去右下滾動條白色  Claire 04/24
  background-color: rgba(32, 48, 51, 1); ///去右下滾動條白色  Claire 04/24
}

::ng-deep .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
  background: rgba(32, 48, 51, 1);
}

// ::ng-deep .ant-modal{
//   width:26% !important;
//   height:40% !important;
//   color:#ffffff;
//   padding-top:6%;
// }
:host ::ng-deep .ant-modal-body {
  font-size: 16px;
  line-height: 40px;
}

::ng-deep #eng_hover:hover>td {
  background: rgba(71, 156, 156, 0.1); //修改指定工程師背景條顏色 Claire 04/21
}

::ng-deep .ant-input {
  color: #ffffff;
  background: rgba(36, 54, 58, 0);
  border: 1px solid rgb(255, 255, 255) !important; //修改指定工程師日期邊框色 Claire 04/21
}

::ng-deep .ant-input:hover {
  //增加hover效果Claire 04/22
  box-shadow: none; //去除默認樣式 Claire 04/21
  color: #ffffff;
  border: 1px solid rgba(72, 156, 156, 1) !important; //修改指定工程師日期邊框色 Claire 04/21
}

::ng-deep .ant-input:focus {
  box-shadow: none; //去除默認樣式 Claire 04/21
  color: #ffffff;
  border: 1px solid rgba(72, 156, 156, 1) !important; //修改指定工程師日期邊框色 Claire 04/21
}

::ng-deep a.ant-calendar-today-btn {
  color: rgba(36, 54, 58, 1);
}

:host ::ng-deep .ant-table-placeholder {
  background: rgba(32, 48, 51, 1);
}

::ng-deep .ant-calendar-selected-day .ant-calendar-date {
  background-color: rgba(71, 156, 156, .5);
}

::ng-deep .ant-calendar-today .ant-calendar-date {
  color: rgb(48, 73, 77, 1);
  border-color: rgba(48, 73, 77, .5);
}

::ng-deep .ant-calendar-date .ng-star-inserted:hover {
  background: rgba(71, 156, 156, .1);
}

:host ::ng-deep .ant-table-thead>tr>th {
  background: rgba(48, 73, 77, 1);
  color: rgba(255, 255, 255, 1);
  text-align: center;
  // padding: 5px;
  border-bottom: 1px solid rgba(48, 73, 77, 1);
}

:host ::ng-deep .list_hover:hover>td {
  background: rgb(73, 146, 146) !important;
}

:host ::ng-deep .ant-table table {
  text-align: center;
  width: 100% !important;
}

:host ::ng-deep .ant-table-tbody>tr>td {
  border-bottom: 1px solid rgba(48, 73, 77, 1);
  padding: 12px;
}

:host ::ng-deep .ant-table-header {
  background: rgba(32, 48, 51, 1);
}

::ng-deep .ant-table-empty .ant-table-body {
  overflow: visible !important;
}

.bbs {
  height: 44px;
}

// 搜索框
.bbs>div {
  width: 500px;
  height: 32px;
  float: right;
}

:host ::ng-deep .ant-input-group .ant-input {
  width: 400px;
  height: 32px;
}

:host ::ng-deep .ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button {
  width: 100px;
  height: 32px;
}

::ng-deep .ant-input {
  border-radius: 0px;
  background-color: rgb(48, 73, 77);
  color: rgba(255, 255, 255, 1);
  font-size: 18px;
  border: 1px solid rgb(48, 73, 77) !important;
  padding: 4px 14px;
  line-height: 32px;
}

::ng-deep .ant-input:hover {
  border: 1px solid rgb(48, 73, 77);
}

::ng-deep .ant-input:focus {
  border: 1px solid rgb(48, 73, 77);
}

input::-webkit-input-placeholder {
  color: #489C9C;
}

input:focus::-webkit-input-placeholder {
  color: #ffffff;
}

:host ::ng-deep .ant-btn {
  line-height: 32px;
  padding: 0px;
}

:host ::ng-deep .ant-btn-primary {
  background-color: rgb(72, 156, 156);
  border: 0px
}

:host ::ng-deep .anticon {
  vertical-align: -0.3em;
}

// td>input
.input_first>input {
  background-color: #1B1D1F;
  border: 1px solid rgba(133, 141, 143, 1);
  color: #ffffff;
  font-size: 18px;
  height: 32px;
  border-radius: 4px;
  vertical-align: middle;
}

.input_first:hover>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

.input_first:focus>input {
  border: 1px solid rgba(72, 156, 156, 1);
}
